
from fastapi import APIRouter, Request, Depends, BackgroundTasks
from typing import Union

from pydantic import BaseModel

from app.utils.toekn_verify import TokenVerify

auth_token = TokenVerify()
# create router
router = APIRouter(
    prefix='/add_notice',
    tags=['addition']
)


class Item(BaseModel):
    source: Union[str, None] = None
    category: Union[str, None] = None
    url: Union[str, None] = None
    content: Union[str, None] = None
